Optimal. Leaf size=218 \[ \frac {c^3 x}{e^6}-\frac {d^3 (c d-b e)^3}{5 e^7 (d+e x)^5}+\frac {3 d^2 (c d-b e)^2 (2 c d-b e)}{4 e^7 (d+e x)^4}-\frac {d (c d-b e) \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^7 (d+e x)^3}+\frac {(2 c d-b e) \left (10 c^2 d^2-10 b c d e+b^2 e^2\right )}{2 e^7 (d+e x)^2}-\frac {3 c \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^7 (d+e x)}-\frac {3 c^2 (2 c d-b e) \log (d+e x)}{e^7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 218, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {712}
\begin {gather*} -\frac {3 c \left (b^2 e^2-5 b c d e+5 c^2 d^2\right )}{e^7 (d+e x)}+\frac {(2 c d-b e) \left (b^2 e^2-10 b c d e+10 c^2 d^2\right )}{2 e^7 (d+e x)^2}-\frac {d (c d-b e) \left (b^2 e^2-5 b c d e+5 c^2 d^2\right )}{e^7 (d+e x)^3}-\frac {3 c^2 (2 c d-b e) \log (d+e x)}{e^7}-\frac {d^3 (c d-b e)^3}{5 e^7 (d+e x)^5}+\frac {3 d^2 (c d-b e)^2 (2 c d-b e)}{4 e^7 (d+e x)^4}+\frac {c^3 x}{e^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rubi steps
\begin {align*} \int \frac {\left (b x+c x^2\right )^3}{(d+e x)^6} \, dx &=\int \left (\frac {c^3}{e^6}+\frac {d^3 (c d-b e)^3}{e^6 (d+e x)^6}-\frac {3 d^2 (c d-b e)^2 (2 c d-b e)}{e^6 (d+e x)^5}+\frac {3 d (c d-b e) \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^6 (d+e x)^4}+\frac {(2 c d-b e) \left (-10 c^2 d^2+10 b c d e-b^2 e^2\right )}{e^6 (d+e x)^3}+\frac {3 c \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^6 (d+e x)^2}-\frac {3 c^2 (2 c d-b e)}{e^6 (d+e x)}\right ) \, dx\\ &=\frac {c^3 x}{e^6}-\frac {d^3 (c d-b e)^3}{5 e^7 (d+e x)^5}+\frac {3 d^2 (c d-b e)^2 (2 c d-b e)}{4 e^7 (d+e x)^4}-\frac {d (c d-b e) \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^7 (d+e x)^3}+\frac {(2 c d-b e) \left (10 c^2 d^2-10 b c d e+b^2 e^2\right )}{2 e^7 (d+e x)^2}-\frac {3 c \left (5 c^2 d^2-5 b c d e+b^2 e^2\right )}{e^7 (d+e x)}-\frac {3 c^2 (2 c d-b e) \log (d+e x)}{e^7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 242, normalized size = 1.11 \begin {gather*} -\frac {b^3 e^3 \left (d^3+5 d^2 e x+10 d e^2 x^2+10 e^3 x^3\right )+12 b^2 c e^2 \left (d^4+5 d^3 e x+10 d^2 e^2 x^2+10 d e^3 x^3+5 e^4 x^4\right )-b c^2 d e \left (137 d^4+625 d^3 e x+1100 d^2 e^2 x^2+900 d e^3 x^3+300 e^4 x^4\right )+2 c^3 \left (87 d^6+375 d^5 e x+600 d^4 e^2 x^2+400 d^3 e^3 x^3+50 d^2 e^4 x^4-50 d e^5 x^5-10 e^6 x^6\right )+60 c^2 (2 c d-b e) (d+e x)^5 \log (d+e x)}{20 e^7 (d+e x)^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.45, size = 265, normalized size = 1.22
method | result | size |
norman | \(\frac {\frac {c^{3} x^{6}}{e}-\frac {d^{3} \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -137 b \,c^{2} d^{2} e +274 c^{3} d^{3}\right )}{20 e^{7}}-\frac {\left (3 b^{2} e^{2} c -15 d e b \,c^{2}+30 c^{3} d^{2}\right ) x^{4}}{e^{3}}-\frac {\left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -90 b \,c^{2} d^{2} e +180 c^{3} d^{3}\right ) x^{3}}{2 e^{4}}-\frac {d \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -110 b \,c^{2} d^{2} e +220 c^{3} d^{3}\right ) x^{2}}{2 e^{5}}-\frac {d^{2} \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -125 b \,c^{2} d^{2} e +250 c^{3} d^{3}\right ) x}{4 e^{6}}}{\left (e x +d \right )^{5}}+\frac {3 c^{2} \left (b e -2 c d \right ) \ln \left (e x +d \right )}{e^{7}}\) | \(255\) |
risch | \(\frac {c^{3} x}{e^{6}}+\frac {\left (-3 b^{2} c \,e^{5}+15 b \,c^{2} d \,e^{4}-15 c^{3} d^{2} e^{3}\right ) x^{4}-\frac {e^{2} \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -90 b \,c^{2} d^{2} e +100 c^{3} d^{3}\right ) x^{3}}{2}-\frac {d e \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -110 b \,c^{2} d^{2} e +130 c^{3} d^{3}\right ) x^{2}}{2}-\frac {d^{2} \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -125 b \,c^{2} d^{2} e +154 c^{3} d^{3}\right ) x}{4}-\frac {d^{3} \left (b^{3} e^{3}+12 b^{2} d \,e^{2} c -137 b \,c^{2} d^{2} e +174 c^{3} d^{3}\right )}{20 e}}{e^{6} \left (e x +d \right )^{5}}+\frac {3 c^{2} \ln \left (e x +d \right ) b}{e^{6}}-\frac {6 c^{3} d \ln \left (e x +d \right )}{e^{7}}\) | \(260\) |
default | \(\frac {c^{3} x}{e^{6}}-\frac {3 d^{2} \left (b^{3} e^{3}-4 b^{2} d \,e^{2} c +5 b \,c^{2} d^{2} e -2 c^{3} d^{3}\right )}{4 e^{7} \left (e x +d \right )^{4}}-\frac {b^{3} e^{3}-12 b^{2} d \,e^{2} c +30 b \,c^{2} d^{2} e -20 c^{3} d^{3}}{2 e^{7} \left (e x +d \right )^{2}}-\frac {3 c \left (b^{2} e^{2}-5 b c d e +5 d^{2} c^{2}\right )}{e^{7} \left (e x +d \right )}+\frac {d \left (b^{3} e^{3}-6 b^{2} d \,e^{2} c +10 b \,c^{2} d^{2} e -5 c^{3} d^{3}\right )}{e^{7} \left (e x +d \right )^{3}}+\frac {3 c^{2} \left (b e -2 c d \right ) \ln \left (e x +d \right )}{e^{7}}+\frac {d^{3} \left (b^{3} e^{3}-3 b^{2} d \,e^{2} c +3 b \,c^{2} d^{2} e -c^{3} d^{3}\right )}{5 e^{7} \left (e x +d \right )^{5}}\) | \(265\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 291, normalized size = 1.33 \begin {gather*} c^{3} x e^{\left (-6\right )} - 3 \, {\left (2 \, c^{3} d - b c^{2} e\right )} e^{\left (-7\right )} \log \left (x e + d\right ) - \frac {174 \, c^{3} d^{6} - 137 \, b c^{2} d^{5} e + 12 \, b^{2} c d^{4} e^{2} + b^{3} d^{3} e^{3} + 60 \, {\left (5 \, c^{3} d^{2} e^{4} - 5 \, b c^{2} d e^{5} + b^{2} c e^{6}\right )} x^{4} + 10 \, {\left (100 \, c^{3} d^{3} e^{3} - 90 \, b c^{2} d^{2} e^{4} + 12 \, b^{2} c d e^{5} + b^{3} e^{6}\right )} x^{3} + 10 \, {\left (130 \, c^{3} d^{4} e^{2} - 110 \, b c^{2} d^{3} e^{3} + 12 \, b^{2} c d^{2} e^{4} + b^{3} d e^{5}\right )} x^{2} + 5 \, {\left (154 \, c^{3} d^{5} e - 125 \, b c^{2} d^{4} e^{2} + 12 \, b^{2} c d^{3} e^{3} + b^{3} d^{2} e^{4}\right )} x}{20 \, {\left (x^{5} e^{12} + 5 \, d x^{4} e^{11} + 10 \, d^{2} x^{3} e^{10} + 10 \, d^{3} x^{2} e^{9} + 5 \, d^{4} x e^{8} + d^{5} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 438 vs.
\(2 (217) = 434\).
time = 3.16, size = 438, normalized size = 2.01 \begin {gather*} -\frac {174 \, c^{3} d^{6} - 10 \, {\left (2 \, c^{3} x^{6} - 6 \, b^{2} c x^{4} - b^{3} x^{3}\right )} e^{6} - 10 \, {\left (10 \, c^{3} d x^{5} + 30 \, b c^{2} d x^{4} - 12 \, b^{2} c d x^{3} - b^{3} d x^{2}\right )} e^{5} + 5 \, {\left (20 \, c^{3} d^{2} x^{4} - 180 \, b c^{2} d^{2} x^{3} + 24 \, b^{2} c d^{2} x^{2} + b^{3} d^{2} x\right )} e^{4} + {\left (800 \, c^{3} d^{3} x^{3} - 1100 \, b c^{2} d^{3} x^{2} + 60 \, b^{2} c d^{3} x + b^{3} d^{3}\right )} e^{3} + {\left (1200 \, c^{3} d^{4} x^{2} - 625 \, b c^{2} d^{4} x + 12 \, b^{2} c d^{4}\right )} e^{2} + {\left (750 \, c^{3} d^{5} x - 137 \, b c^{2} d^{5}\right )} e + 60 \, {\left (2 \, c^{3} d^{6} - b c^{2} x^{5} e^{6} + {\left (2 \, c^{3} d x^{5} - 5 \, b c^{2} d x^{4}\right )} e^{5} + 10 \, {\left (c^{3} d^{2} x^{4} - b c^{2} d^{2} x^{3}\right )} e^{4} + 10 \, {\left (2 \, c^{3} d^{3} x^{3} - b c^{2} d^{3} x^{2}\right )} e^{3} + 5 \, {\left (4 \, c^{3} d^{4} x^{2} - b c^{2} d^{4} x\right )} e^{2} + {\left (10 \, c^{3} d^{5} x - b c^{2} d^{5}\right )} e\right )} \log \left (x e + d\right )}{20 \, {\left (x^{5} e^{12} + 5 \, d x^{4} e^{11} + 10 \, d^{2} x^{3} e^{10} + 10 \, d^{3} x^{2} e^{9} + 5 \, d^{4} x e^{8} + d^{5} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 144.04, size = 326, normalized size = 1.50 \begin {gather*} \frac {c^{3} x}{e^{6}} + \frac {3 c^{2} \left (b e - 2 c d\right ) \log {\left (d + e x \right )}}{e^{7}} + \frac {- b^{3} d^{3} e^{3} - 12 b^{2} c d^{4} e^{2} + 137 b c^{2} d^{5} e - 174 c^{3} d^{6} + x^{4} \left (- 60 b^{2} c e^{6} + 300 b c^{2} d e^{5} - 300 c^{3} d^{2} e^{4}\right ) + x^{3} \left (- 10 b^{3} e^{6} - 120 b^{2} c d e^{5} + 900 b c^{2} d^{2} e^{4} - 1000 c^{3} d^{3} e^{3}\right ) + x^{2} \left (- 10 b^{3} d e^{5} - 120 b^{2} c d^{2} e^{4} + 1100 b c^{2} d^{3} e^{3} - 1300 c^{3} d^{4} e^{2}\right ) + x \left (- 5 b^{3} d^{2} e^{4} - 60 b^{2} c d^{3} e^{3} + 625 b c^{2} d^{4} e^{2} - 770 c^{3} d^{5} e\right )}{20 d^{5} e^{7} + 100 d^{4} e^{8} x + 200 d^{3} e^{9} x^{2} + 200 d^{2} e^{10} x^{3} + 100 d e^{11} x^{4} + 20 e^{12} x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.85, size = 251, normalized size = 1.15 \begin {gather*} c^{3} x e^{\left (-6\right )} - 3 \, {\left (2 \, c^{3} d - b c^{2} e\right )} e^{\left (-7\right )} \log \left ({\left | x e + d \right |}\right ) - \frac {{\left (174 \, c^{3} d^{6} - 137 \, b c^{2} d^{5} e + 12 \, b^{2} c d^{4} e^{2} + b^{3} d^{3} e^{3} + 60 \, {\left (5 \, c^{3} d^{2} e^{4} - 5 \, b c^{2} d e^{5} + b^{2} c e^{6}\right )} x^{4} + 10 \, {\left (100 \, c^{3} d^{3} e^{3} - 90 \, b c^{2} d^{2} e^{4} + 12 \, b^{2} c d e^{5} + b^{3} e^{6}\right )} x^{3} + 10 \, {\left (130 \, c^{3} d^{4} e^{2} - 110 \, b c^{2} d^{3} e^{3} + 12 \, b^{2} c d^{2} e^{4} + b^{3} d e^{5}\right )} x^{2} + 5 \, {\left (154 \, c^{3} d^{5} e - 125 \, b c^{2} d^{4} e^{2} + 12 \, b^{2} c d^{3} e^{3} + b^{3} d^{2} e^{4}\right )} x\right )} e^{\left (-7\right )}}{20 \, {\left (x e + d\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.29, size = 312, normalized size = 1.43 \begin {gather*} \frac {c^3\,x}{e^6}-\frac {x^4\,\left (3\,b^2\,c\,e^5-15\,b\,c^2\,d\,e^4+15\,c^3\,d^2\,e^3\right )+x^2\,\left (\frac {b^3\,d\,e^4}{2}+6\,b^2\,c\,d^2\,e^3-55\,b\,c^2\,d^3\,e^2+65\,c^3\,d^4\,e\right )+x\,\left (\frac {b^3\,d^2\,e^3}{4}+3\,b^2\,c\,d^3\,e^2-\frac {125\,b\,c^2\,d^4\,e}{4}+\frac {77\,c^3\,d^5}{2}\right )+\frac {b^3\,d^3\,e^3+12\,b^2\,c\,d^4\,e^2-137\,b\,c^2\,d^5\,e+174\,c^3\,d^6}{20\,e}+x^3\,\left (\frac {b^3\,e^5}{2}+6\,b^2\,c\,d\,e^4-45\,b\,c^2\,d^2\,e^3+50\,c^3\,d^3\,e^2\right )}{d^5\,e^6+5\,d^4\,e^7\,x+10\,d^3\,e^8\,x^2+10\,d^2\,e^9\,x^3+5\,d\,e^{10}\,x^4+e^{11}\,x^5}-\frac {\ln \left (d+e\,x\right )\,\left (6\,c^3\,d-3\,b\,c^2\,e\right )}{e^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________